package com.css.fxfzdzzh.login.viewobjects;

import lombok.Data;

import java.io.Serializable;

/**
 *
 * @author lixiaofeng
 * @date 2020/4/18
 */
@Data
public class LoginStatus implements Serializable {
    /**
     * 成功标识，true:成功,false:失败
     */
    private boolean success;
    /**
     * 用户Id,验证成功会赋值
     */
    private String userId;
    /**
     *     SUCCESS:验证成功,ERROR:后台出现异常,ACCOUNT_NOT_EXIST:用户不存在,
     *      PASSWORD_ERROR:密码错误,TOO_MANY_FAILURES:账号已锁定：登录错误次数过多，请2小时之后重试,
     *     CAPTHCA_ERROR:验证码错误,SESSION_EXPIRED:页面会话超时,INACTIVE:用户未激活
     */
    private String status;
    private String message;
    private int retryTimes;
    private String remainLockedTime;
    private String loginSuccessUrl;

}
